package com.magenta.geocoding.cloudmade.json;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.List;

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class Feature {
    private List<Double[]> bounds;
    private Number id;
    private CMProperties properties;
    private Centroid centroid;

    public Number getId() {
        return id;
    }

    public void setId(Number id) {
        this.id = id;
    }

    public CMProperties getProperties() {
        return properties;
    }

    public void setProperties(CMProperties properties) {
        this.properties = properties;
    }

    public Centroid getCentroid() {
        return centroid;
    }

    public void setCentroid(Centroid centroid) {
        this.centroid = centroid;
    }

    public List<Double[]> getBounds() {
        return bounds;
    }

    public void setBounds(List<Double[]> bounds) {
        this.bounds = bounds;
    }

}
